package com.kobe.classification.service;

import cn.hutool.core.lang.tree.Tree;
import com.kobe.classification.domain.ClassificationDomain;

import java.util.List;

public interface ClassificationService {

    List<Tree<String>> treeV3();
    /** 添加 */
    int insert(ClassificationDomain classificationDomain);
    /** 更新 */
    int update(ClassificationDomain classificationDomain);
    /** 根据ID查询 */
    ClassificationDomain selectById(Long categoryId);
}